package com.oa.lms.apps.business.user;

import java.util.List;

import com.oa.lms.apps.entity.user.UsersValue;

public interface IUsersService {
	
	public Integer add(String userName, String password, Integer infoId);
	
	public void modify(Integer userId, String userName, String password);

	public void delete(Integer userId);
	
	public void sendMail(Integer userId);
	
	public String verifyMail(Integer userId) throws Exception;
	
	public UsersValue queryByUserId(Integer userId);
	
	public UsersValue verifyUser(String userName, String password);
	
	public List<UsersValue> queryUsers(String userName, String phone, String mailBox, Integer postId, Integer rows, Integer pageNo);
	
	public Integer getTotalPageNumber(String userName, String phone, String mailBox, Integer postId, Integer rows);
}
